package mrusanov.ui.battle

import javax.swing.JPanel
import java.awt.GridLayout

class UnitOrderComponent(controller:BattleUIController, miniArena:MiniArenaComponent) extends JPanel {

  def refresh() {
    removeAll()
    setLayout(new GridLayout(1, 1))
    add(controller.buildUnitOrderComponent(miniArena.miniArena))
    validate()
    repaint()
  }

}
